package com.ruiyian.project.equipment.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @author chong
 * @email 673426164@qq.com
 * @create 2022/7/18
 * Desc: 消防补水
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("tb_fire_fillwater")
public class FireFillWater {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @TableField(value = "tunnel_id")
    private Long tunnelId;
    @TableField(value = "start_time")
    private String startTime  = "yyyy-MM-dd hh:mm:ss";
    @TableField(value = "end_time")
    private String endTime = "yyyy-MM-dd hh:mm:ss";
    @TableField(value = "run_time")
    private String runTime = "h:m:s";
    @TableField(value = "fillwater_model")
    private String fillwaterModel; // 补水模式 0：手动模式，1：自动模式
    @TableField(value = "cabinet_model")
    private String cabinetModel;  //柜子模式 0：本地模式，1：远程模式
    @TableField(value = "start_high")
    private String startHigh;
    @TableField(value = "start_low")
    private String startLow;
    @TableField(value = "stop_high")
    private String stopHigh;
    @TableField(value = "stop_low")
    private String stopLow;
    @TableField(value = "area_high")
    private String areaHigh;
    @TableField(value = "area_low")
    private String areaLow;
    @TableField(value = "create_time")
    private Date createTime = new Date();
}
